﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Shop.Framework.Services;
using Shop.Model;

namespace Shop.Framework.Page {
    public class CategoryViewPage:ViewPage {

        public string CategoriesJSON { set; get; }
        protected override void OnInit(EventArgs e) {

            CategoryService service = new CategoryService();
            CategoriesJSON = service.GetCategoriesJson();                                    
            base.OnInit(e);
        }

    }
}
